package com.hd.core.project.module.domain;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * 班级列表 module_class
 * 
 * @author RichardTang
 * @date 2018-08-20
 */
@TableName("module_classes")
public class Classes {

	@Null
	@TableId(type = IdType.UUID)
	private String id;

	/** 班级名称 */
	@NotBlank
	private String name;

	/** 年级 */
	private String grade;

	/** 班级人数 **/
	private Integer peopleNumber;
	
	/** 班主任id */
	private Long masterTeacherId;

	/** 班主任名字 **/
	private String masterTeacherName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Long getMasterTeacherId() {
		return masterTeacherId;
	}

	public void setMasterTeacherId(Long masterTeacherId) {
		this.masterTeacherId = masterTeacherId;
	}

	public String getMasterTeacherName() {
		return masterTeacherName;
	}

	public void setMasterTeacherName(String masterTeacherName) {
		this.masterTeacherName = masterTeacherName;
	}

	public Integer getPeopleNumber() {
		return peopleNumber;
	}

	public void setPeopleNumber(Integer peopleNumber) {
		this.peopleNumber = peopleNumber;
	}
	
}
